package com.share.payment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.binarywang.wxpay.bean.result.WxPayOrderQueryResult;
import com.share.payment.domain.PaymentInfo;

public interface IPaymentInfoService extends IService<PaymentInfo> {
    /**
     * 添加订单
     * @param orderNo
     * @return
     */
    PaymentInfo savePaymentInfo(String orderNo);

    /**
     * 修改支付记录状态
     * @param wxPayOrderQueryResult
     */
    void updatePaymentStatus(WxPayOrderQueryResult wxPayOrderQueryResult);
}
